import {
  getGoodsList
} from './goods';

/**
 * @param {number} sort
 * @param {number} pageNum
 * @param {number} pageSize
 * @param {number} minPrice
 * @param {number} maxPrice
 * @param {string} keyword
 */

export function getSearchHistory() {
  return {
    historyWords: [
      '三灶编织文创笔筒',
      '三灶编织联名帆布袋',
      '仙鹤之舞，三灶传承之旅'
    ],
  };
}

export function getSearchPopular() {
  return {
    popularWords: [
      '剪艺寻踪，三灶文化之旅',
      '三灶编织原创挂坠'
    ],
  };
}

export function getSearchResult() {
  return {
    saasId: null,
    storeId: null,
    pageNum: 1,
    pageSize: 30,
    totalCount: 1,
    spuList: getGoodsList(7),
    algId: 0,
  };
}